> For the complete documentation index, see [llms.txt](https://505876833.gitbook.io/gao-jin-yun-xin-xin-yong-chi-v1.0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://505876833.gitbook.io/gao-jin-yun-xin-xin-yong-chi-v1.0/zhi-neng-he-yue-kai-fa/company-gong-si-shen-fen-he-yue.md).

# Company公司身份合约

#### 基本属性

|         属性         |         说明        |
| :----------------: | :---------------: |
|         MS         | *Mainsystem*主合约地址 |
|     companyName    |        公司名称       |
|    companyIndex    |    公司索引号（加入顺序号    |
|      joinTime      |     加入时间（时间戳）     |
| initialCreditLimit |       获得的总授信      |
|       helpTx       |      参与增信的交易      |
|        banks       |       已授信的银行      |
|        Limit       |   当年从特定银行获得的授信额度  |
|     haveApplied    |  当年已使/占用特定银行的授信额度 |
|     helpTxInfo     |   参与增信交易的来源和额度记录  |

#### 功能

|           功能          |                          说明                         |
| :-------------------: | :-------------------------------------------------: |
| applyUsedCreditLimit1 |                      发起交易（第一步）                      |
|     quotaByNormal1    |                 发起普通交易后由发起者进行配额（第一步）                |
|      quotaByHelp2     |                   盟主对增信交易进行配额（第二步）                  |
|     bankSetLimit3     |                    银行对公司进行授信（第三步）                   |
|      available()      | 若为增信交易时，获得所有信用额度尚未耗尽的、可使用的银行（和相应的额度），同时默认消耗当前全部信用额度 |
|     recoveryLimit     |               当提出申请的公司完成还款，银行进行清算（第四步）              |
