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
- func AccountDetail(id, coinId int) reterror.ErrModel
- func AddChildAccount(ct *Qaddress, account string) reterror.ErrModel
- func AddressList(qt *Qaddress) reterror.ErrModel
- func AddressTopTen(qt *Qaddress) reterror.ErrModel
- func ChildStatistical(id int) reterror.ErrModel
- func CountAllChild(id int) reterror.ErrModel
- func GenContractAddress() reterror.ErrModel
- func GetBtcKey(kt uint32, curNum uint32, customDeep []uint32) []uint32
- func GetContractAddress() reterror.ErrModel
- func MergeAccount(coinId, mold int, ids []int, psw, account string) reterror.ErrModel
- func SetTag(id int, tag string) reterror.ErrModel
- func Statistical() reterror.ErrModel
- func TokenList(id int) reterror.ErrModel
- func TokenRecord(id, coinId int) reterror.ErrModel
- func TransferRecord(id int) reterror.ErrModel
- type Qaddress
Constants ¶
const (
MaxCount int = 10000 //子账户上限
)
Variables ¶
This section is empty.
Functions ¶
func AddChildAccount ¶
AddChildAccount 添加子账户 coinId 币种id amount 数量 tag别名
func AddressList ¶
AddressList 主链币对应的账户列表 coinId 币种id (tag 别名 address 地址)模糊查询 (start ,end) 分页
func AddressTopTen ¶
AddressTopTen 查询指定币种的账户金额top10
func ChildStatistical ¶
ChildStatistical 子账户统计 id 币种ID
func MergeAccount ¶
合并账户