accmanage

package
v0.0.0-...-7cf6ef0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Overview

Copyright 2018. bolaxy.org authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2018. bolaxy.org authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

View Source
const (
	MaxCount int = 10000 //子账户上限
)

Variables

This section is empty.

Functions

func AccountDetail

func AccountDetail(id, coinId int) reterror.ErrModel

AccountDetail 查询账户详细信息

func AddChildAccount

func AddChildAccount(ct *Qaddress, account string) reterror.ErrModel

AddChildAccount 添加子账户 coinId 币种id amount 数量 tag别名

func AddressList

func AddressList(qt *Qaddress) reterror.ErrModel

AddressList 主链币对应的账户列表 coinId 币种id (tag 别名 address 地址)模糊查询 (start ,end) 分页

func AddressTopTen

func AddressTopTen(qt *Qaddress) reterror.ErrModel

AddressTopTen 查询指定币种的账户金额top10

func ChildStatistical

func ChildStatistical(id int) reterror.ErrModel

ChildStatistical 子账户统计 id 币种ID

func CountAllChild

func CountAllChild(id int) reterror.ErrModel

CountAllChild 所有子账户数量和总额

func GenContractAddress

func GenContractAddress() reterror.ErrModel

GenContractAddress 创建合约账户

func GetBtcKey

func GetBtcKey(kt uint32, curNum uint32, customDeep []uint32) []uint32

组织deep

func GetContractAddress

func GetContractAddress() reterror.ErrModel

GetContractAddress 获取合约账户地址

func MergeAccount

func MergeAccount(coinId, mold int, ids []int, psw, account string) reterror.ErrModel

合并账户

func SetTag

func SetTag(id int, tag string) reterror.ErrModel

SetTag 为账户设置别名

func Statistical

func Statistical() reterror.ErrModel

Statistical 主链币多账户统计主账户和子账户的个数

func TokenList

func TokenList(id int) reterror.ErrModel

TokenList 代币明细

func TokenRecord

func TokenRecord(id, coinId int) reterror.ErrModel

TokenRecord 代币转账记录

func TransferRecord

func TransferRecord(id int) reterror.ErrModel

TransferRecord 查询账户的转账记录列表

Types

type Qaddress

type Qaddress struct {
	ID        int    `form:"id"`
	CoinID    int    `form:"coin_id"`
	Type      int    `form:"type"`
	Tag       string `form:"tag"`
	Condition string `form:"condition"`
	Page      int    `form:"page"`
	Amount    int    `form:"amount"`
	PSW       string `form:"psw"`
	Ids       string `form:"ids"`
}

Jump to

Keyboard shortcuts

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