migration

package
v25.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthShared        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowShared          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupShared = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type BalancerToConcentratedPoolLink struct {
	BalancerPoolId uint64 `protobuf:"varint,1,opt,name=balancer_pool_id,json=balancerPoolId,proto3" json:"balancer_pool_id,omitempty"`
	ClPoolId       uint64 `protobuf:"varint,2,opt,name=cl_pool_id,json=clPoolId,proto3" json:"cl_pool_id,omitempty"`
}

BalancerToConcentratedPoolLink defines a single link between a single balancer pool and a single concentrated liquidity pool. This link is used to allow a balancer pool to migrate to a single canonical full range concentrated liquidity pool position A balancer pool can be linked to a maximum of one cl pool, and a cl pool can be linked to a maximum of one balancer pool.

func (*BalancerToConcentratedPoolLink) Descriptor

func (*BalancerToConcentratedPoolLink) Descriptor() ([]byte, []int)

func (*BalancerToConcentratedPoolLink) Equal

func (this *BalancerToConcentratedPoolLink) Equal(that interface{}) bool

func (*BalancerToConcentratedPoolLink) GetBalancerPoolId

func (m *BalancerToConcentratedPoolLink) GetBalancerPoolId() uint64

func (*BalancerToConcentratedPoolLink) GetClPoolId

func (m *BalancerToConcentratedPoolLink) GetClPoolId() uint64

func (*BalancerToConcentratedPoolLink) Marshal

func (m *BalancerToConcentratedPoolLink) Marshal() (dAtA []byte, err error)

func (*BalancerToConcentratedPoolLink) MarshalTo

func (m *BalancerToConcentratedPoolLink) MarshalTo(dAtA []byte) (int, error)

func (*BalancerToConcentratedPoolLink) MarshalToSizedBuffer

func (m *BalancerToConcentratedPoolLink) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BalancerToConcentratedPoolLink) ProtoMessage

func (*BalancerToConcentratedPoolLink) ProtoMessage()

func (*BalancerToConcentratedPoolLink) Reset

func (m *BalancerToConcentratedPoolLink) Reset()

func (*BalancerToConcentratedPoolLink) Size

func (m *BalancerToConcentratedPoolLink) Size() (n int)

func (*BalancerToConcentratedPoolLink) String

func (*BalancerToConcentratedPoolLink) Unmarshal

func (m *BalancerToConcentratedPoolLink) Unmarshal(dAtA []byte) error

func (*BalancerToConcentratedPoolLink) XXX_DiscardUnknown

func (m *BalancerToConcentratedPoolLink) XXX_DiscardUnknown()

func (*BalancerToConcentratedPoolLink) XXX_Marshal

func (m *BalancerToConcentratedPoolLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BalancerToConcentratedPoolLink) XXX_Merge

func (m *BalancerToConcentratedPoolLink) XXX_Merge(src proto.Message)

func (*BalancerToConcentratedPoolLink) XXX_Size

func (m *BalancerToConcentratedPoolLink) XXX_Size() int

func (*BalancerToConcentratedPoolLink) XXX_Unmarshal

func (m *BalancerToConcentratedPoolLink) XXX_Unmarshal(b []byte) error

type MigrationRecords

type MigrationRecords struct {
	BalancerToConcentratedPoolLinks []BalancerToConcentratedPoolLink `` /* 150-byte string literal not displayed */
}

MigrationRecords contains all the links between balancer and concentrated pools

func (*MigrationRecords) Descriptor

func (*MigrationRecords) Descriptor() ([]byte, []int)
func (m *MigrationRecords) GetBalancerToConcentratedPoolLinks() []BalancerToConcentratedPoolLink

func (*MigrationRecords) Marshal

func (m *MigrationRecords) Marshal() (dAtA []byte, err error)

func (*MigrationRecords) MarshalTo

func (m *MigrationRecords) MarshalTo(dAtA []byte) (int, error)

func (*MigrationRecords) MarshalToSizedBuffer

func (m *MigrationRecords) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MigrationRecords) ProtoMessage

func (*MigrationRecords) ProtoMessage()

func (*MigrationRecords) Reset

func (m *MigrationRecords) Reset()

func (*MigrationRecords) Size

func (m *MigrationRecords) Size() (n int)

func (*MigrationRecords) String

func (m *MigrationRecords) String() string

func (*MigrationRecords) Unmarshal

func (m *MigrationRecords) Unmarshal(dAtA []byte) error

func (*MigrationRecords) XXX_DiscardUnknown

func (m *MigrationRecords) XXX_DiscardUnknown()

func (*MigrationRecords) XXX_Marshal

func (m *MigrationRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MigrationRecords) XXX_Merge

func (m *MigrationRecords) XXX_Merge(src proto.Message)

func (*MigrationRecords) XXX_Size

func (m *MigrationRecords) XXX_Size() int

func (*MigrationRecords) XXX_Unmarshal

func (m *MigrationRecords) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL